.detail-box {
  // background: #FFF;
  // border-radius: 10px;
  display: flex;
  justify-content: space-between;

  .rollback {
    position: absolute;
    top: 11px;
    left: 20px;
    color: #8492C2;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;

    img {
      width: 14px;
      mask-repeat: no-repeat;
      mask-size: 14px;
      mask-position: center;
      mask-image: url(~@/assets/img/prev.png);
      background: #8492C2;
      color: #8492C2;
    }
  }

  .pic {
    width: 80px;
    height: 80px;

    .avatar,
    img {
      display: block;
      width: 80px;
      height: 80px;
      overflow: hidden;
      border-radius: 10px;
    }
  }

  .word {
    flex: 1;
    padding: 0 20px 20px;

    .title {
      line-height: 24px;
      height: 24px;
      font-size: 18px;
      position: relative;
      padding-top: 10px;

      span {
        padding-left: 72px;
      }

      .back {
        position: absolute;
        right: 0;
        top: -6px;
        font-size: 20px;
      }
    }

    .hint {
      // line-height: 24px;
      padding-top: 10px;
      // padding-right: 30px;
      // height: 24px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 4;
      white-space: wrap;
      text-overflow: ellipsis;
      width: calc(100% - 400px);
    }

    .creat-info {
      // text-align: right;
      padding-top: 10px;

      span {
        margin-right: 40px;
      }
    }
  }
}

.code-description {
  // border: 1px solid;
  // display: flex;
  // width: 70%;
  margin-bottom: 1.875rem;
  position: relative;

  .code-desc-header {
    // width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    // overflow: hidden;
    overflow-wrap: break-word;
  }

  .title {
    // display: flex;
    // width: 26%;
    // border: 1px solid;

    .title-header {
      display: flex;
      justify-content: start;
      align-items: center;
      font-size: 1.25rem;
      font-weight: 700;
      line-height: 2em;
    }
  }

  .code-status {
    width: 60%;
    // margin: 0 auto;
    // margin-left: 9.375rem;
    // margin-left: 100px;
    position: absolute;
    left: 50%;
    margin-left: -18%;
  }

  .code-tags {
    margin: 6px 0;
    display: flex;
    align-items: center;

    &>* {
      margin-right: .625rem;
    }

    .tag {
      height: 24px;
      line-height: 24px;
      padding: 0 8px;
      font-size: 12px;
      display: flex;
      justify-content: center;
      align-items: center;

      img {
        width: 18px;
        height: 18px;
        margin-right: 5px;
      }
    }

    .user-tag {
      // width: 100px;
      height: 24px;
      border: 1px solid #FF855F;
      background: rgba(#FF855F, .48);
      color: #FFE5DC;
      font-size: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 8px;
    }

    .status-tag {
      white-space: nowrap;

      &.danger {
        border: 1px solid #FF8D8D;
        background: rgba(#E31E1E, .26);
        color: #FF8D8D;
      }

      &.warning {
        border: 1px solid #E3D21E;
        background: rgba(#E3D21E, .31);
        color: #E3D21E;
      }

      &.success {
        border: 1px solid #B0E31E;
        background: rgba(#B0E31E, .31);
        color: #B0E31E;
      }
    }

    .version-tag {
      position: relative;
      width: 100px;
      font-size: 12px;
      z-index: 99;
      border: 1px solid #765CDE;

      &:hover .content {
        display: block;
      }

      .ver-title {
        position: absolute;
        width: 100%;
        height: 25px;
        font-size: 12px;
        background: #25204A;
        border: 1px solid #765CDE;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 0 10px 0;

        img {
          margin-right: 5px;
        }
      }

      .content {
        border: 1px solid #765CDE;
        width: 100%;
        position: absolute;
        top: 25px;
        left: 0;
        background: #393369;
        cursor: pointer;
        height: auto;
        display: none;

        .ver-item {
          line-height: 25px;
          text-align: center;
          // color: #fff;
          background: #393369;

          &:hover {
            color: #9A8DFF;
            background: #59519F;
          }
        }
      }

    }

    .time-tag {
      // color: #fff;
      font-size: 14px;
      font-weight: 400;
      margin-left: 10px;
      white-space: nowrap;

      span {
        color: #A4ADCD;
        float: left;
      }
    }
  }
}

.code-status {
  // margin: 30px 0;
  // margin: 0 auto;
}

.layout-content {
  border-radius: 0 10px 10px 10px;
  // background: #FFF;
  padding: 16px;
  min-height: calc(100% - 264px);

  .content-detail {
    box-sizing: border-box;
  }

}

.layout-content-nodetail {
  margin-top: 0;
  min-height: calc(100% - 100px);
  background: rgba(0, 0, 0, 0);

  display: flex;
  // border: 1px solid #f00;
}

.select-ver {
  padding: 14px 0 0;

  .label {
    padding-left: 10px;
    width: 60px;
    float: left;
    line-height: 40px;
  }

  .select {
    // width: 412px;
    width: 150px;
    float: left;
  }

  .ver-update {
    float: left;
    min-width: 48px;
    height: 24px;
    font-size: 12px;
    background: rgba(120, 114, 246, 0.1);
    border-radius: 4px;
    border: 1px solid #7872F6;
    margin-top: 8px;
    margin-left: 8px;
    padding: 0 12px;
    text-align: center;
    color: #7872F6;
  }
}

.commit-info {
  // width: 100%;
  height: 48px;
  line-height: 48px;
  background: #FAECD8;
  border-radius: 10px;
  color: #3D3D3D;
  padding: 0 24px;
  margin-top: 6px;

  strong {}
}

.dea_top {
  display: flex;
  width: 100%;

  .header_box {
    width: 100%;
  }

  .nav_box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-right: 30px;
  }

  .header_box {
    width: 100%;
  }

  .staet_box {
    margin: 20px 0;
    width: 70%;
  }

  .title {
    width: 100%;
  }
}